Fix part of bug #13011 with display of lines that have a box face.
authorEli Zaretskii <eliz@gnu.org>
Tue, 11 Dec 2012 12:22:35 +0000 (14:22 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 11 Dec 2012 12:22:35 +0000 (14:22 +0200)
commit9d1780ec97e70a036b4716dad33d342af81e8e4c
tree3b9defccb6f976e3484521a8af8d7a67025baf27
parent8beae121778493649a3381633e6dc940d51d52c3
Fix part of bug #13011 with display of lines that have a box face.

 src/xdisp.c (handle_face_prop): Fix logic of computing
 it->start_of_box_run_p.
 (append_space_for_newline): If the glyph row is R2L, reset the
 iterator's end_of_box_run_p flag before prepending the space glyph.
 (extend_face_to_end_of_line): If the glyph row is R2L, reset the
 iterator's start_of_box_run_p flag before prepending the stretch.
 (append_glyph, produce_image_glyph, append_composite_glyph)
 (append_stretch_glyph, append_glyphless_glyph): Reverse the
 left_box_line_p and right_box_line_p flags of the glyph for R2L
 glyph rows.
src/ChangeLog
src/xdisp.c